package com.luyuan.framework.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 微信小程序配置属性
 * 
 * @author luyuan
 */
@Component
@ConfigurationProperties(prefix = "wxapp")
public class WxappProperties
{
    /** 微信小程序appid */
    private String appid;

    /** 微信小程序密钥 */
    private String secret;

    public String getAppid()
    {
        return appid;
    }

    public void setAppid(String appid)
    {
        this.appid = appid;
    }

    public String getSecret()
    {
        return secret;
    }

    public void setSecret(String secret)
    {
        this.secret = secret;
    }
}